package com.totoro.springboot.jpa_batch.dao;

import com.totoro.springboot.jpa_batch.model.User;

import java.util.List;

/**
 * Created by Niki on 2018/4/18 10:55
 */
public interface IUserDao {
    void save(User user);

    void batchSaveUser(List<User> users);

    User update(User user);

    int batchUpdateUser(List<User> users);
}
